MaximumProcessorSpeed
You can use theMaximumProcessorSpeed
function to find out the maximum speed of the computer's microprocessor.
short MaximumProcessorSpeed();DESCRIPTION
TheMaximumProcessorSpeed
function returns the maximum clock speed of the computer's microprocessor, in MHz.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forMaximumProcessorSpeed
is 16 ($10) in the low word of register D0. The processor speed value is returned in the low word of register D0.